/**
    package: learn-go
    filename: bson
    author: diogo@gmail.com
    time: 2022/6/21 11:11
**/
package main

import (
	"fmt"
	"time"

	"go.mongodb.org/mongo-driver/bson"
)

func main() {

	bs := bson.M{
		"name": "diogoxiang",
	}

	bs["uname"] = "1618374728142"
	fmt.Println(bs)

	delete(bs,"name")

	fmt.Println(bs)


	fmt.Println(time.Duration(1000)*time.Millisecond)
}
